package com.lengyue.imakiba.base;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.jfinal.handler.Handler;
import com.jfinal.i18n.I18N;

public class I18nHandle extends Handler {

	@Override
	public void handle(String target, HttpServletRequest request,
			HttpServletResponse response, boolean[] isHandled) {
		I18N.init("base", request.getLocale(), null);
	}

}
